package com.jzmy.specialist.feign;

import com.example.commons.entity.RoleDO;
import com.example.commons.entity.UserRoleDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author mengzhichao
 * @create 2022-08-29-16:06
 */
@Component
@FeignClient(name = "jinZhiProduct",path = "/" )   //服务调用
public interface RoleOpenfeign {

    @GetMapping("/jinZhiIndex/RoleFeignController/getById")
    RoleDO getById(Object... params);
}
